//
//  ViewController.swift
//  SwiftLearningDemo
//
//  Created by ShareAnimation on 17/1/3.
//  Copyright © 2017年 爱丽丝的梦境. All rights reserved.
//

import UIKit
import Kingfisher
import YYText

class ViewController: UIViewController,UIGestureRecognizerDelegate{
    
    override func viewDidLoad() {
        super.viewDidLoad()
        self.view.backgroundColor = UIColor.blue
        self.navigationItem.leftBarButtonItem = UIBarButtonItem.init(title: "点击", style: UIBarButtonItemStyle.done, target: self, action: #selector(doSomething))
        self.navigationItem.rightBarButtonItem = UIBarButtonItem.init(title: "点击", style: UIBarButtonItemStyle.done, target: self, action: #selector(doRightAction))
    }
    
    
    func doSomething() {
        let vc = TransitionNav(view: self.view)
        self.present(vc, animated: true, completion: nil)
    }
    
    func doRightAction() {
        
    }
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

}
